package fr.umlv.m2.jee.spij.persistence.actor;

import fr.umlv.m2.jee.spij.framework.dao.IDAO;

import java.util.List;


/**
 * ...
 *
 * @author Thomas Magny
 */
public interface ITeacherUnitDAO extends IDAO<Long, TeacherUnit> {

    /**
     * Finds all the associated units from teacher login.
     *
     * @param teacherLogin the teacher login
     *
     * @return a list of unit.
     */
    List<TeacherUnit> findByTeacherLogin(String teacherLogin);
}
